package com.example.shop.goods.dto;


import lombok.Data;

import javax.validation.Valid;
import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;

@Data
public class  ModifyGoodsStyleParam {

    /**
     * 该款式所属的商品id
     */
    @NotNull
    private Long goodsId;
    /**
     * 修改前的款式名
     */
    @NotEmpty
    private String beforeClass;
    /**
     * 修改后的款式
     */
    @NotNull
    private GoodsStyleParam modifyStyle;
}
